package com.cloudlinkscm.loms.services.base.notify.model.entity;

import com.cloudlinkscm.loms.services.base.notify.constant.SendStatusEnum;

/**
 * 标识实现此接口的实体为一类具体的消息
 *
 * @author : tac
 * @date : 2017/6/16
 */
public abstract class Message extends GenericGuidBizModel {
    @Override
    protected void setDefault() {
        super.setDefault();
        this.setStatus(SendStatusEnum.NOT_SEND.val);        //新建的消息默认为未发送状态
    }

    private Integer status;

    private Integer resendNum;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getResendNum() {
        return resendNum;
    }

    public void setResendNum(Integer resendNum) {
        this.resendNum = resendNum;
    }
}
